package edu.pucp.ecommunitas.framework.dao;

import org.apache.commons.logging.Log;
import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;

/**
 * Base class for running Dao tests.
 * 
 * @author <a href="mailto:lshimokawa@gmail.com">Lennon Shimokawa</a>
 */
public abstract class BaseDaoTestCase extends
		AbstractTransactionalDataSourceSpringContextTests {
	protected final Log log = logger;

	@Override
	protected String[] getConfigLocations() {
		setAutowireMode(AUTOWIRE_BY_NAME);
		return new String[] { "/WEB-INF/context/applicationContext*.xml",
				"/WEB-INF/context/test/applicationContext*.xml" };
	}
}